package com.nhjf.common.dao;



import java.util.List;

public interface IbatisDao {
	
	public List queryForList(String hql, Object o);
	
	public Object queryForObject(String hql, Object o);
	
	public List queryForList(String hql);
	
	public Object queryForObject(String hql);
	
	public int updateForObject(String hql, Object o);
	/**插入方法返回插入成功后的主键值*/
	public Object InsertForObject(String hql, Object o);
	
   

	public int deleteForObject(String hql, Object o);
}
